interface model {
    account: string; // 帐户
    authentication: string; // 钥匙
    is_authentication: boolean; // 是否登录 true：登录；false[默认]：未登录
};

export default {
    SET_USER_DATA(state: model, data: model) {
        state.account = data.account;
        state.authentication = data.authentication;
        state.is_authentication = true;
    }
}